<?php

class Solicitud extends AppModel {

    public $name = 'Solicitud';
    public $useTable = 'solicituds';
    public $order = 'Solicitud.id DESC';
    public $belongsTo = array(
        'Usuario'/* => array('type' => 'INNER')*/,
        'Cliente' => array('type' => 'INNER', 'className' => 'Usuario',),
    );
    public $hasMany = array(
        'SolicitudDetalle',
    );
    
    public $actsAs = array('Codigo');

}
